package com.ctgu.server.dao.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@ApiModel(value = "ImageDto", description = "图片请求参数")
public class ImageDto {
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "图片存储地址")
    private String imageUrl;

    @ApiModelProperty(value = "图片跳转地址")
    private String url;

    @ApiModelProperty(value = "外键，文章地址")
    private String articleId;
}
